<?php


namespace App\Order\Repository;


use App\Order\Model\OrderGoodsModel;

class OrderGoodsRepository implements BaseRepositoryInterface
{

    public function delete()
    {
        // TODO: Implement delete() method.
        var_dump("111");
    }

    public function update()
    {
        // TODO: Implement update() method.
    }
    public function getList()
    {
        // TODO: Implement getList() method.
    }

    public function findFirst(array $where = [], array $field = ['*'])
    {
        return OrderGoodsModel::query()
            ->select($field)
            ->where($where)
            ->first();
    }
}
